<?php
require_once ROOT_PATH.'mobiapi/request/base.req.php';

class MobiRequest extends BaseRequest
{
	var $id;
	var $comment;
	
	function __construct($request)
	{
		parent::__construct($request);
				
		$this->id = isset($request['id']) ? $request['id'] : '';
		$this->comment = isset($request['comment']) ? $request['comment'] : '';
	}
	
	function is_valid()
	{
		return ($this->id != '' && $this->comment != '');
	}
	
}